<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>首页 - Admin </title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="${basepath}/plugin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="${basepath}/layuiadmin/style/admin.css" media="all">
  <link rel="stylesheet" href="${basepath}/gexinadmin/common.css" media="all">
  <link rel="stylesheet" href="${basepath}/gexinadmin/icont/iconfont.css" media="all">
  
   <style type="text/css">
   [v-cloak]{display:none}
   .bluefont{
   color: green;
   }
   </style>
</head>
<body>
  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md12">
             <div class="layui-row layui-col-space15" >
					<div class="layui-col-md12">
						<div class="layui-card">
							<div class="layui-card-header">
								<p>
								   <i style="position: relative; left: 0px;" class="layui-icon layui-icon-home"></i> 欢迎您使用  
								</p>
							</div>
							<div class="layui-card-body">
								<small><code class="bluefont">${session.SystemAdmin.name!}</code> ,上次登录时间 <code class="bluefont">${session.SystemAdmin.last_login_time,dateFormat="yyyy-MM-dd HH:mm:ss"}</code> ,如有异常请 <a data-toggle="tooltip" data-placement="left" data-original-title="修改登陆账号密码" class="p-l-5 bluefont" lay-href="/system/role/user/update_password">修改密码</a></small>
							</div>
						</div>
					</div>
					<div class="layui-col-md8">
        <div class="layui-row layui-col-space15">
          <div class="layui-col-md6">
            <div class="layui-card">
              <div class="layui-card-header">快捷方式</div>
              <div class="layui-card-body">
                <div class="layui-carousel layadmin-carousel layadmin-shortcut">
                  <div carousel-item>
                    <ul class="layui-row layui-col-space10">
                      <li class="layui-col-xs3">
                        <a lay-href="/system/role/user">
                          <i class="layui-icon gx-icont icon-user"></i>
                          <cite>管理员用户</cite>
                        </a>
                      </li>
                      <li class="layui-col-xs3">
                        <a lay-href="/system/weixin/userlist">
                          <i class="layui-icon gx-icont icon-wx"></i>
                          <cite>微信用户</cite>
                        </a>
                      </li>
                        <li class="layui-col-xs3">
                        <a lay-href="/system/config">
                          <i class="layui-icon layui-icon-set"></i>
                          <cite>系统配置</cite>
                        </a>
                      </li>
                      <li class="layui-col-xs3">
                        <a lay-href="/system/role/user/update_password">
                          <i class="layui-icon layui-icon-password"></i>
                          <cite>修改密码</cite>
                        </a>
                      </li>
                      
                      <li class="layui-col-xs3">
                        <a  onclick="layer.msg('等待添加')" >
                          <i class="layui-icon layui-icon-loading-2"></i>
                          <cite>进度条</cite>
                        </a>
                      </li>
                      <li class="layui-col-xs3">
                        <a onclick="layer.msg('等待添加')">
                          <i class="layui-icon layui-icon-chat"></i>
                          <cite>聊天</cite>
                        </a>
                      </li>
                      <li class="layui-col-xs3">
                        <a onclick="layer.msg('等待添加')">
                          <i class="layui-icon layui-icon-read"></i>
                          <cite>面板</cite>
                        </a>
                      </li>
                      <li class="layui-col-xs3">
                        <a onclick="layer.msg('等待添加')">
                          <i class="layui-icon layui-icon-tree"></i>
                          <cite>徽章</cite>
                        </a>
                      </li>
                    
                    </ul>
                    <!-- <ul class="layui-row layui-col-space10">
                      <li class="layui-col-xs3">
                        <a lay-href="set/user/info.html">
                          <i class="layui-icon layui-icon-set"></i>
                          <cite>设置</cite>
                        </a>
                      </li>
                      <li class="layui-col-xs3">
                        <a lay-href="set/user/info.html">
                          <i class="layui-icon layui-icon-set"></i>
                          <cite>设置</cite>
                        </a>
                      </li>
                      <li class="layui-col-xs3">
                        <a lay-href="set/user/info.html">
                          <i class="layui-icon layui-icon-set"></i>
                          <cite>设置</cite>
                        </a>
                      </li>
                      <li class="layui-col-xs3">
                        <a lay-href="set/user/info.html">
                          <i class="layui-icon layui-icon-set"></i>
                          <cite>设置</cite>
                        </a>
                      </li>
                      <li class="layui-col-xs3">
                        <a lay-href="set/user/info.html">
                          <i class="layui-icon layui-icon-set"></i>
                          <cite>设置</cite>
                        </a>
                      </li>
                      <li class="layui-col-xs3">
                        <a lay-href="set/user/info.html">
                          <i class="layui-icon layui-icon-set"></i>
                          <cite>设置</cite>
                        </a>
                      </li>
                      <li class="layui-col-xs3">
                        <a lay-href="set/user/info.html">
                          <i class="layui-icon layui-icon-set"></i>
                          <cite>设置</cite>
                        </a>
                      </li>
                      <li class="layui-col-xs3">
                        <a lay-href="set/user/info.html">
                          <i class="layui-icon layui-icon-set"></i>
                          <cite>设置</cite>
                        </a>
                      </li>
                    </ul> -->
                    
                  </div>
                </div>
                
              </div>
            </div>
          </div>
          <div class="layui-col-md6">
            <div class="layui-card">
              <div class="layui-card-header">数据统计</div>
              <div class="layui-card-body">

                <div class="layui-carousel layadmin-carousel layadmin-backlog">
                  <div carousel-item>
                    <ul class="layui-row layui-col-space10">
                      <li class="layui-col-xs6">
                        <a lay-href="/system/role/user" class="layadmin-backlog-body">
                          <h3>管理员</h3>
                          <p><cite>${record.admin_num!}</cite></p>
                        </a>
                      </li>
                      <li class="layui-col-xs6">
                        <a lay-href="/system/weixin/userlist" class="layadmin-backlog-body">
                          <h3>微信用户</h3>
                          <p><cite>${record.wx_num!}</cite></p>
                        </a>
                      </li>
                      <li class="layui-col-xs6">
                        <a lay-href="/system/core/log?log_level=error " class="layadmin-backlog-body">
                          <h3>错误日志</h3>
                          <p><cite style="color: #FF5722;">${record.error_log!}</cite></p>
                        </a>
                      </li>
                      <li class="layui-col-xs6">
                        <a lay-href="/system/plug/file" class="layadmin-backlog-body">
                          <h3>文件数</h3>
                          <p><cite>${record.file_num!}</cite></p>
                        </a>
                      </li>
                    </ul>
                    <!-- <ul class="layui-row layui-col-space10">
                      <li class="layui-col-xs6">
                        <a href="javascript:;" class="layadmin-backlog-body">
                          <h3>待审友情链接</h3>
                          <p><cite style="color: #FF5722;">5</cite></p>
                        </a>
                      </li>
                    </ul> -->
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div class="layui-col-md12">
            <div class="layui-card">
              <div class="layui-card-header">数据概览</div>
              <div class="layui-card-body">
                <!--  参考Js  layuiadmin/modules/console1.js   -->
                <div class="layui-carousel layadmin-carousel layadmin-dataview" data-anim="fade" lay-filter="LAY-index-dataview">
                  <div carousel-item id="LAY-index-dataview">
                    <div><i class="layui-icon layui-icon-loading1 layadmin-loading"></i></div>
                    <div></div>
                    <div></div>
                  </div>
                </div>
                
              </div>
            </div>
            <!-- <div class="layui-card">
              <div class="layui-tab layui-tab-brief layadmin-latestData">
                <ul class="layui-tab-title">
                  <li class="layui-this">今日热搜</li>
                  <li>今日热帖</li>
                </ul>
                <div class="layui-tab-content">
                  <div class="layui-tab-item layui-show">
                    <table id="LAY-index-topSearch"></table>
                  </div>
                  <div class="layui-tab-item">
                    <table id="LAY-index-topCard"></table>
                  </div>
                </div>
              </div>
            </div> -->
          </div>
        </div>
      </div>
      
      <div class="layui-col-md4">
        <div class="layui-card">
          <div class="layui-card-header">服务器信息</div>
          <div class="layui-card-body layui-text">
            <table class="layui-table">
              <colgroup>
                <col width="115">
                <col>
              </colgroup>
              <tbody>
                <tr>
                  <td>操作系统</td>
                  <td>
                    ${os.os_name!}
                  </td>
                </tr>
                <tr>
                  <td>网站部署路径</td>
                  <td>
                    ${os.app_path!}
                 </td>
                </tr>
                <tr>
                  <td>JDK版本</td>
                  <td>${os.java_version!}</td>
                </tr>
                <tr>
                  <td>JDK位数</td>
                  <td>
                    <!-- <div class="layui-btn-container">
                      <a href="http://www.layui.com/admin/" target="_blank" class="layui-btn layui-btn-danger">获取授权</a>
                      <a href="http://fly.layui.com/download/layuiAdmin/" target="_blank" class="layui-btn">立即下载</a>
                    </div> -->
                    ${os.java_model!}
                  </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        
        <div class="layui-card">
          <div class="layui-card-header">效果报告</div>
          <div class="layui-card-body layadmin-takerates">
            <div class="layui-progress" lay-showPercent="yes">
              <h3>转化率（日同比 28% <span class="layui-edge layui-edge-top" lay-tips="增长" lay-offset="-15"></span>）</h3>
              <div class="layui-progress-bar" lay-percent="65%"></div>
            </div>
            <div class="layui-progress" lay-showPercent="yes">
              <h3>签到率（日同比 11% <span class="layui-edge layui-edge-bottom" lay-tips="下降" lay-offset="-15"></span>）</h3>
              <div class="layui-progress-bar" lay-percent="32%"></div>
            </div>
          </div>
        </div>
        
        <div class="layui-card">
          <div class="layui-card-header">实时监控</div>
          <div class="layui-card-body layadmin-takerates">
            <div class="layui-progress" lay-showPercent="yes">
              <h3>CPU使用率</h3>
              <div class="layui-progress-bar" lay-percent="3%"></div>
            </div>
            <div class="layui-progress" lay-showPercent="yes">
              <h3>内存占用率</h3>
              <div class="layui-progress-bar layui-bg-red" lay-percent="70%"></div>
            </div>
          </div>
        </div>
        
        <!-- <div class="layui-card">
          <div class="layui-card-header">产品动态</div>
          <div class="layui-card-body">
            <div class="layui-carousel layadmin-carousel layadmin-news" data-autoplay="true" data-anim="fade" lay-filter="news">
              <div carousel-item>
                <div><a href="http://fly.layui.com/docs/2/" target="_blank" class="layui-bg-red">layuiAdmin 快速上手文档</a></div>
                <div><a href="javascript:;" onclick="layer.msg('等待添加')" target="_blank" class="layui-bg-green">layuiAdmin 集成心得分享</a></div> 
                <div><a href="javascript:;" onclick="layer.msg('等待添加')" target="_blank" class="layui-bg-blue">首款 layui 官方后台模板系统正式发布</a></div>
              </div>
            </div>
          </div>
        </div> -->

        
      </div>
    </div>
        
       
      
      </div>
    </div>
  </div>

<script src="${basepath}/plugin/layui/layui.all.js"></script>
<script src="${basepath}/plugin/jquery.js"></script>
<script src="${basepath}/plugin/vue.min.js"></script>
<script src="${basepath}/gexinadmin/common.js"></script>
<script src="${basepath}/layuiadmin/layui/layui.js?t=v1" charset="utf-8"></script>
<script>
$(document).ready(function(){
	//layui.form.render()
})
 layui.config({
    base: '${basepath}/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'console1']);

</script>  
</body>
</html>